package cn.boat.router.models;

import lombok.Data;

import java.io.Serializable;

@Data
public class BrokerModel implements Serializable {

    static final long serialVersionUID = -1L;
    private String brokerHost;
    private int brokerPort;

    public BrokerModel() {
    }

    public BrokerModel(String brokerHost, int brokerPort) {
        this.brokerHost = brokerHost;
        this.brokerPort = brokerPort;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getBrokerHost() {
        return brokerHost;
    }

    public void setBrokerHost(String brokerHost) {
        this.brokerHost = brokerHost;
    }

    public int getBrokerPort() {
        return brokerPort;
    }

    public void setBrokerPort(int brokerPort) {
        this.brokerPort = brokerPort;
    }
}
